package com.supinfo.suptracking.dao;

import com.supinfo.suptracking.entity.Invoice;
import com.supinfo.suptracking.entity.User;
import java.util.Date;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Fabien, Jérémy, Ludovic, Brice
 */

@Local
public interface InvoiceDao {
    
    void addInvoice(Invoice invoice);
    void delInvoice(Invoice invoice);
    
    List<Invoice> getAllInvoice();
    List<Invoice> getInvoiceByDate(Date date);
    List<Invoice> getInvoiceByUser(User user);
}
